<?php die;?><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>miceCMS,觅策企业网站管理系统</title>
<style type="text/css">
<!--
html {overflow-x:auto; overflow-y:hidden;}
-->
</style>
<link href="css/default.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.STYLE1 {
	font-size: 16px;
	font-weight: bold;
	color: #0000CC;
}
.STYLE6 {font-size: 14}
.STYLE7 {
	font-size: 14px;
	font-weight: bold;
}
.STYLE8 {color: #0000CC}
td.bottomline {
	border-bottom: 1px solid #e9e9e9;
}
.db_avail0 {
	color: red;
	font-weight: normal;
}
.db_avail1 {
	color: red;
	font-weight: normal;
}
.db_avail2 {
	color: gray;
	font-weight:bold;
}
.db_avail3 {
	color: green;
	font-weight:bold;
}
-->
</style>
</head>

<body>
<table width="99%" align="center" border="0" cellpadding="0" cellspacing="0">
  <tr align="center">
    <td height="5"></td>
  </tr>
</table>
<table width="99%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="860" align="center" valign="top"><table width="100%" border="0" cellpadding="0" cellspacing="1" bgcolor="#D5D5D5">
      <tr>
        <td height="28" bgcolor="#F9F9F9">&nbsp;<span class="STYLE7">投票标签</span></td>
      </tr>
      <tr>
        <td height="28" bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;投票框标签</td>
    <td height="28" class="bottomline">
	&ltform action="&lt!--{$smarty.const.MICE_URL}-->index.php/poll" method="post" name="formpoll" id="formpoll"><br>
	&lt!--{'micefun'|PollTitle:1}-->：获得投票id=1的投票标题<br>
	&ltinput type="hidden" name="pollid" id="pollid" value="1">：投票id=1<br>
	&lt!--{assign var=checks value='micefun'|PollChecks:1}-->：获得投票id=1的可选投票的选项数,值为radio或checkbox<br>
	&lt!--{foreach from='micefun'|PollList:1:0:5 item=poll name=counter}-->：获得投票id=1的选项列表，0表示从第1条开始,5表示显示5条<br>
	&ltinput type="&lt!--{$checks}-->" name="poll[&lt!--{$poll->getPollId()}-->]" id="poll[&lt!--{$poll->getPollId()}-->]" value="&lt!--{$poll->getPollId()}-->" &lt!--{if $poll->getIsdefault()==0}-->checked&lt!--{/if}-->/>&lt!--{$poll->getTitle()}--><br>
	&lt!--{/foreach}--><br>
	&ltinput class="submit" type="submit" value="投票" /><br>
	&lta href="&lt!--{$smarty.const.MICE_URL}-->index.php/Pollresults/1">查看结果&lt/a>：查看投票id=1的投票结果<br>
	&lt/form>
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>所有模板都可使用<br>
	可参考pollresults.php模板
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200" valign="top">&nbsp;投票结果页面标签</td>
    <td height="28" class="bottomline">
	&lt!--{$PollCategoryRS->getTitle()}--></b>(共&lt!--{$PollCategoryRS->getNum()}-->票):投票名称和投票总票数<br>
	&lt!--{foreach from='micefun'|PollList:$PollID:0:5 item=poll name=counter}-->：获得投票选项列表，0表示从第1条开始,5表示显示5条<br>
	&lt!--{$smarty.foreach.counter.iteration}-->、&lt!--{$poll->getTitle()}-->&lt!--{'micefun'|MiceDivisible:$poll->getNum():$PollCategoryRS->getNum()}-->%(&lt!--{$poll->getNum()}-->票)：分别是投票选项序号，投票选项标题，该投票选项占总选项数的百分比，该投票选择获得的投票数<br>
	&lt!--{/foreach}-->
	</td>
  </tr>
  <tr>
    <td height="28" class="bottomline" width="200">&nbsp;</td>
    <td height="28" class="bottomline">
	<b>适用范围：</b>pollresults.php页面<br>
	可参考pollresults.php模板 
	</td>
  </tr>


  


</table>
	</td>
   </tr>
</table>
  <table width="100%" height="5" border="0" cellpadding="0" cellspacing="0">
	<tr>
	  <td></td>
	</tr>
  </table>
</body>
</html>
